/**
 * @brief Weight.h
 */

#ifndef WEIGHT_H_
#define WEIGHT_H_

#include "Config.h"
#include "Macro.h"

#include <iostream>

class Weight
{
public:
  Weight() : value(0.0){}
  virtual ~Weight(){}

  void setV(const double& v)
  {
    value = v;
  }
  void randomV()
  {
    double t_random = normalDistribution(MY, SIGMA);
    value += t_random;
    std::cout << "randomvalue: " << t_random << std::endl;
  }
  const double& getV()
  {
    return value;
  }

private:
  double value;
};

#endif /* WEIGHTS_H_ */
